# syntax=docker/dockerfile:1

FROM mcr.microsoft.com/playwright:v1.32.0

WORKDIR /app

COPY ["./package.json", "./package-lock.json", "./"]
RUN npm ci
RUN npx playwright install --with-deps chromium

COPY ["./tsconfig.json", "./"]
COPY ["./scripts", "./scripts"]
